]> dgit.raspbian.org Git - gnome-shell.git/commit
swipeTracker: Use unaccelerated deltas
authorAlexander Mikhaylenko <exalm7659@gmail.com>
Sun, 28 Feb 2021 13:59:31 +0000 (18:59 +0500)
committerRobert Mader <robert.mader@posteo.de>
Fri, 16 Jul 2021 19:37:20 +0000 (19:37 +0000)
commitb156cabdc9acbb62a93abce2cf4dc9b081c995b5
tree54b279070d34fb8e0fb7c9b6957517e252b6df79
parent20d99c69cb39eb8d0828aca1bfd75e31a626b443
swipeTracker: Use unaccelerated deltas

Unaccelerated deltas make sure the gesture works the same regardless of how
fast the fingers move; this is what we were already doing for scrolling.

Remove the swipe multiplier as the deltas already match scrolling other than
the 1/10 multiplier Clutter applies to scrolling specifically.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1763>
js/ui/swipeTracker.js